from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^qq/authorization/$', views.QQAuthURLView.as_view()),  # 提供用户登录到qq的网址
    url(r'^qq/user/$', views.QQAuthUserView.as_view()),  # 处理oauth_callback回调,提取code,access_token,open_id
    url(r'^qq/userbind/$', views.QQSockView.as_view())  # qq扫码后进行openid和手机号的绑定
]